package com.teamall.web.tssy.db.dao.mapper;

import com.teamall.web.tssy.db.arg.TsSyThirdArg;
import com.teamall.web.tssy.db.po.TsSyThirdPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ITsSyThirdMapper {
    
    List<Integer> countByArg(TsSyThirdArg arg);

    List<TsSyThirdPO> selectByArg(TsSyThirdArg arg);

    TsSyThirdPO selectByPrimaryKey(String id);

    List<TsSyThirdPO> selectByArgAndPage(TsSyThirdArg arg, RowBounds rowBound);

    int insert(TsSyThirdPO record);

    int insertSelective(TsSyThirdPO record);

    int insertBatch(@Param("list") List<TsSyThirdPO> records);

    int updateByArgSelective(@Param("record") TsSyThirdPO record,
            @Param("arg") TsSyThirdArg arg);

    int updateByArg(@Param("record") TsSyThirdPO record,
            @Param("arg") TsSyThirdArg arg);

    int updateByPrimaryKeySelective(TsSyThirdPO record);

    int updateByPrimaryKeys(TsSyThirdPO record);
    
    int updateByPrimaryKey(TsSyThirdPO record);
    
    int deleteByArg(TsSyThirdArg arg);
    
    int deleteByPrimaryKey(String id);
    
}